import { IFeidaoAiMobile } from '@dfeidao/atom-mobile/interfaces';
import goto from '@dfeidao/atom-mobile/nav/goto';
export default function a004(fd: IFeidaoAiMobile, e: Event, args: string[]) {
	// 跳转页面
	if (args[0] === '0') {
		// 未审核跳转 ‘家长请假审批详情’
		goto(fd, 'app_approval_details', { leave_num: args[1] });
	} else {
		// 否则跳转 家长请假查看详情
		goto(fd, 'app_see_details', { leave_num: args[1] });
	}
}
